package com.dieusoft.box.ship.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dieusoft.box.ship.entity.BillOfLadingInfo;
import com.dieusoft.box.ship.mapper.BillOfLadingInfoMapper;
import com.dieusoft.box.ship.service.BillOfLadingInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 提单管理
 *
 * @author
 * @date: Wed Jan 13 18:37:58 CST 2021
 */

@Service
public class BillOfLadingInfoServiceImpl extends ServiceImpl<BillOfLadingInfoMapper, BillOfLadingInfo> implements BillOfLadingInfoService {

    @Autowired
    private BillOfLadingInfoMapper billOfLadingInfoMapper;

    @Override
    public List<BillOfLadingInfo> findByShipId(String shipId) {
        return billOfLadingInfoMapper.findByShipId(shipId);
    }
}
